//
//  WmcA_GiveIntegralDelegate.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/5/30.
//

import UIKit

// MARK: - [WmcA_GiveIntegralDelegate]

public protocol WmcA_GiveIntegralDelegate: NSObjectProtocol {
    /// 送积分-打卡完成时，底部出现的提示文案
    /// 主要用于如果外部路径因需求变化，导致此处不统一，故回调
    /// - Parameters:
    ///   - attribute: 当前水印相机的属性
    ///   - punchCardCount: 打卡天数
    func punchCardPrompt(_ attribute: WmcAttribute,
                         punchCardCount: Int)
        -> String

    /// 送积分-点击去看看按钮
    /// - Parameters:
    ///   - attribute: 当前水印相机的属性
    ///   - punchCardCount: 打卡天数
    func didSelectGoSeeIt(_ attribute: WmcAttribute,
                          punchCardCount: Int)
}
// MARK: - =========================⚠️以下对接业务方无需查看或了解⚠️=========================

public extension WmcA_GiveIntegralDelegate {
    /// 送积分-打卡完成时，底部出现的提示文案
    func punchCardPrompt(_ attribute: WmcAttribute,
                             punchCardCount: Int) -> String
    {
        return "你可在「会员中心-正式积分」查看"
    }

    /// 送积分-点击去看看按钮
    func didSelectGoSeeIt(_ attribute: WmcAttribute,
                              punchCardCount: Int) {}
}
